<?php

require_once BaseUtil::getModulePath ("base") . '/models/BaseDao.php';

class FeaturePageDao extends BaseDao  {
	
	protected $_name;
	
	public function _setup() {
		$this->_name=$this->prefix() . 'feature_pages';
		parent::_setup();
	}
	
	public function updatePage($data,$id) {
		$where=$this->db_w->quoteInto('id=?',$id);
		$this->updateData($data,$where);
	}
	
	public function deletePage($id) {
		$isDel=array("is_delete"=>1);
		$where=$this->db_w->quoteInto('id=?',$id);
		$this->updateData($isDel,$where);
	}
    
}
